package com.janlei.oop;

public class StuExtd extends StuClass implements StuInterface {
    public static void main(String[] args) {
        StuClass stu = new StuExtd();
        stu.say();
        StuInterface stui = new StuExtd();
        stui.hi();
    }

    @Override
    void say() {
        System.out.println("wait");
    }

    @Override
    public void hi() {
        System.out.println("hi");
    }
}
